package com.code.family.entity.dto;

import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 注册用户DTO
 * @author 上玄
 */
@Data
public class RegisterUser implements Serializable {

    private String username;

    private String password;

    private String confirmPassword;
    
    private String email;

    private String name;

    /**
     * 头像
     */
    private String avatar;

    /**
     * 角色: 1为管理员/0为家庭成员
     */
    private Integer role;

    @Serial
    private static final long serialVersionUID = 1L;
}